﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.Data {
    /// <summary>
    /// 店铺信息
    /// </summary>
    public class ShopInfo {
        /// <summary>
        /// 用户（商户）id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 货款红钻部分接收商户Id(为空则默认 该店的商户Id)
        /// </summary>
        public long? RedDrillReceiverId { get; set; }
        /// <summary>
        /// 店铺logo
        /// </summary>
        public string ShopLogo { get; set; }
        /// <summary>
        /// 背景图片
        /// </summary>
        public string ShopBackgroundImg { get; set; }
        /// <summary>
        /// 店铺名称
        /// </summary>
        public string ShopName { get; set; }
        /// <summary>
        /// 客服电话
        /// </summary>
        public string CustomerTel { get; set; }
        /// <summary>
        /// 省市区id
        /// </summary>
        public long RegionId { get; set; }
        /// <summary>
        /// 省市区
        /// </summary>
        public string RegionName { get; set; }
        /// <summary>
        /// 店铺详细地址
        /// </summary>
        public string ShopAddress { get; set; }
        /// <summary>
        /// 店铺说明
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public long CreateTime { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsDisabled { get; set; }
        /// <summary>
        /// 集散中心Id
        /// </summary>
        public long? EntrepotId { get; set; }
        /// <summary>
        /// 费率
        /// </summary>
        public decimal Rate { get; set; }
        /// <summary>
        /// 一级类目ID
        /// </summary>
        public long? FirstCategoriesId { get; set; }
        /// <summary>
        /// 一级类目名称
        /// </summary>
        public string FirstCategoriesName { get; set; }
        /// <summary>
        /// 二级类目ID
        /// </summary>
        public long? SecondCategoriesId { get; set; }
        /// <summary>
        /// 二级类目名称
        /// </summary>
        public string SecondCategoriesName { get; set; }
        public virtual Merchant Merchant { get; set; }
    }
}
